turf
	base
		Wall
			icon = 'wall.dmi'
			icon_state = "wall"
			density = 1
			opacity = 1
		Floor
			icon = 'floor.dmi'
			icon_state = "floor"
			layer = 2


		Light
			icon = 'light.dmi'
			icon_state = "1"
			luminosity = 6
			var
				dead = 0
			Click()
				if(dead == 0)
					usr << "You knocked out the light!"
					luminosity = 0
					dead = 1
					if(icon_state == "1")
						icon_state = "1n"
					if(icon_state == "2")
						icon_state = "2n"
					if(icon_state == "3")
						icon_state = "3n"
					if(icon_state == "4")
						icon_state = "4n"
					return
				if(dead == 1)
					usr << "You put the light back in!"
					luminosity = 6
					dead = 0
					if(icon_state == "1n")
						icon_state = "1"
					if(icon_state == "2n")
						icon_state = "2"
					if(icon_state == "3n")
						icon_state = "3"
					if(icon_state == "4n")
						icon_state = "4"
					return